﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Colorful.Models
{
    /// <summary>
    /// 网站错误日志
    /// </summary>
    public class ErrorLog : BaseId
    {
        /// <summary>
        /// 访问地址
        /// </summary>
        public string Page { get; set; }
        /// <summary>
        /// 页面查询字符串
        /// </summary>
        public string PageQuery { get; set; }
        /// <summary>
        /// 提交方法
        /// </summary>
        public string HttpMethod { get; set; }
        /// <summary>
        /// IP地址
        /// </summary>
        public string IP { get; set; }
        /// <summary>
        /// IP所在地
        /// </summary>
        public string Location { get; set; }
        /// <summary>
        /// 错误内容
        /// </summary>
        public string Error { get; set; }
        /// <summary>
        /// 是否已处理
        /// </summary>
        public bool Processed { get; set; }
    }
}
